#

| Chapter 13 mm Macros |

## .TC

    .TC [slevel] [spacing] [tlevel] [tab] [head1] ...

Generate table of contents in format specified by arguments. The levels of headings that are saved for table of contents is determined by setting the Cl register.

`slevel` sets the levels of headings that will have spacing before them. `spacing` sets the amount of spacing. Default is 1; first-level headings have a blank line before them.

`tlevel` and `tab` affect location of page number. Heading levels less than or equal to `tlevel` are output with page numbers at right margin; otherwise, heading and page number are separated by two spaces. If page numbers are at right margin, and if `tab` is 0, a leader will be output using dots; otherwise, spaces are used.

Reference: .TB |  | Reference: .TE